package com.ishare.common.entity.dto;

import com.ishare.common.entity.po.SysUser;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
 * @description: 用户dto
 * @author: DENGMINGWEN
 * @time: 2021/3/23 11:17
 */
@ApiModel(value = "用户dto")
public class SysUserDto extends SysUser {
    private static final long serialVersionUID = -3483755165704252337L;

    @ApiModelProperty(value = "角色集合",required = true)
    private List<Long> roleIdList;

    public List<Long> getRoleIdList() {
        return roleIdList;
    }

    public void setRoleIdList(List<Long> roleIdList) {
        this.roleIdList = roleIdList;
    }

    @Override
    public String toString() {
        return "SysUserDto{" +
                "roleIdList=" + roleIdList +
                '}';
    }
}
